<!-- <ion-header>
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-back-button [defaultHref]="'/tabs/myCredit/transaction'"></ion-back-button>
    </ion-buttons>
    <ion-title>TRANSACTION DETAIL</ion-title>
  </ion-toolbar>
</ion-header> -->
<app-common-header [title]=" 'myCredit.transaction_page.transaction_detail_page.page_title' | translate"></app-common-header>
<ion-content scrollY="false">
  <div class="trans_cotent">
    <div class="content_item">
      <div class="item_div">
        <ion-grid>
          <ion-row>
            <ion-col class="ion-align-self-center">
              <div class="transaction_img">
                <ion-img src="../../../../../assets/mycredit/transaction/default.png"></ion-img>
              </div>
            </ion-col>
          </ion-row>
          <ion-row>
            <ion-col style="font-size: 13px;"  class="ion-text-center">
              <ion-text>
                {{ 'myCredit.transaction_page.transaction_detail_page.item_title' | translate}}
              </ion-text>
            </ion-col>
          </ion-row>
          <ion-row>
            <ion-col class="i-center">
              <span style="font-size: 28px;">
                <ion-text class="blue_text">
                    -{{oldData.amount}}
                </ion-text>
              </span>
            </ion-col>
          </ion-row>
          <ion-row>
            <ion-col>
              <p class="trans_status"  class="ion-text-center">
                  {{ 'myCredit.transaction_page.transaction_detail_page.transaction_status' | translate}}
              </p>
            </ion-col>
          </ion-row>
        </ion-grid>
      </div>
    </div>
    <div class="">
      <ion-item lines="none">
        <ion-grid>
          <ion-row>
            <ion-col>
              <ion-label class="ion-text-wrap">
                <ion-text color="medium">
                    {{ 'myCredit.transaction_page.transaction_detail_page.discount_amount' | translate}}
                </ion-text>
              </ion-label>
            </ion-col>
            <ion-col>
              <ion-label class="ion-text-wrap ion-text-end">
                <ion-text>
                    {{detailData.discountAmt}}
                </ion-text>
              </ion-label>
            </ion-col>
          </ion-row>
          <ion-row>
            <ion-col>
              <ion-label class="ion-text-wrap">
                <ion-text color="medium">
                    {{ 'myCredit.transaction_page.transaction_detail_page.payment_method' | translate}}
                </ion-text>
              </ion-label>
            </ion-col>
            <ion-col class="ion-align-self-end">
              <ion-label class="ion-text-wrap ion-text-end">
                <ion-text >
                    {{detailData.payMethod}}
                </ion-text>
              </ion-label>
            </ion-col>
          </ion-row>
          <ion-row>
            <ion-col>
              <ion-label class="ion-text-wrap">
                <ion-text color="medium">
                    {{ 'myCredit.transaction_page.transaction_detail_page.transaction_time' | translate}}
                </ion-text>
              </ion-label>
            </ion-col>
            <ion-col>
              <ion-label class="ion-text-wrap ion-text-end">
                <ion-text>
                    {{oldData.transactionTime | date:'yyyy-MM-dd HH:mm:ss'}}
                </ion-text>
              </ion-label>
            </ion-col>
          </ion-row>
          <ion-row>
            <ion-col>
              <ion-label class="ion-text-wrap">
                <ion-text color="medium">
                    {{ 'myCredit.transaction_page.transaction_detail_page.transaction_number' | translate}}
                </ion-text>
              </ion-label>
            </ion-col>
            <ion-col>
              <ion-label class="ion-text-wrap ion-text-end">
                <ion-text>
                    {{detailData.transactionNumber}}
                </ion-text>
              </ion-label>
            </ion-col>
          </ion-row>
          <ion-row>
            <ion-col>
              <ion-label class="ion-text-wrap">
                <ion-text color="medium">
                    {{ 'myCredit.transaction_page.transaction_detail_page.merchants_number' | translate}}
                </ion-text>
              </ion-label>
            </ion-col>
            <ion-col>
              <ion-label class="ion-text-wrap ion-text-end">
                <ion-text>
                  {{detailData.merchantsNumber}}
                </ion-text>
              </ion-label>
            </ion-col>
          </ion-row>
        </ion-grid>
      </ion-item>

    </div>
  </div>
</ion-content>